package cn.bgs.mapper;

import cn.bgs.pojo.Building;
import cn.bgs.pojo.CommunityVo;
import cn.bgs.pojo.Portal;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface InfoMapper {
    List<CommunityVo> findinfo(@Param("communityId") String communityId ,@Param("houseuse") String houseuse, @Param("howmany") String howmany);

    List<CommunityVo> findhouse(@Param("communityId") String communityId,@Param("houseuse")String houseuse,@Param("state") String state);

    void addCommunity(Building forms);

    void del(Integer id);

    void updatebuilding(Building formData);

    List<Building> load(Integer id);

    void addportal(Portal forms);

    void delportal(Integer id);
}
